<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
    <meta charset="utf-8"/>
    <title>    TFC-Trotri Foundation Classes &raquo; \tfc\db\Statement
</title>
    <meta name="author" content=""/>
    <meta name="description" content=""/>

            <link href="../css/template.css" rel="stylesheet" media="all"/>
    
            <!--[if lt IE 9]>
        
        <![endif]-->
        <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script>
        <script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script>
        <script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script>
        <script src="../js/bootstrap.js" type="text/javascript"></script>
        <script src="../js/template.js" type="text/javascript"></script>
        <script src="../js/prettify/prettify.min.js" type="text/javascript"></script>
    
            <link rel="shortcut icon" href="../img/favicon.ico"/>
        <link rel="apple-touch-icon" href="../img/apple-touch-icon.png"/>
        <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png"/>
        <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png"/>
    </head>
<body>

        <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span> <span class="icon-bar"></span>
                    <span class="icon-bar"></span> </a>
                <a class="brand" href="http://www.trotri.com/">Trotri官网</a><a class="brand" href="../index.html">TFC-Trotri Foundation Classes</a>

                <div class="nav-collapse">
                    <ul class="nav">
                        <li class="dropdown">
                            <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
                                API Documentation <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                                                    <li><a>Namespaces</a></li>
                                                                        <li><a href="../namespaces/tfc.html">tfc</a></li>
                                                                                                                                </ul>
                        </li>
                        <li class="dropdown" id="charts-menu">
                            <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
                                Charts <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <li>
                                    <a href="../graph_class.html">
                                        <i class="icon-list-alt"></i>&#160;Class hierarchy diagram
                                    </a>
                                </li>
                            </ul>
                        </li>
                        <li class="dropdown" id="reports-menu">
                            <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
                                Reports <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <li>
                                    <a href="../errors.html">
                                         
                                    </a>
                                </li>
                                <li>
                                    <a href="../markers.html">
                                        <i class="icon-list-alt"></i>&#160;Markers
                                    </a>
                                </li>
                                <li>
                                    <a href="../deprecated.html">
                                        <i class="icon-list-alt"></i>&#160;Deprecated
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="go_to_top">
            <a href="#___" style="color: inherit">Back to top&#160;&#160;<i class="icon-upload icon-white"></i></a>
        </div>
    </div>
    
    <div id="___" class="container">
        <noscript>
            <div class="alert alert-warning">
                Javascript is disabled; several features are only available if Javascript is enabled.
            </div>
        </noscript>

        
            <style>
        .deprecated h2 {
            text-decoration: line-through;
        }
    </style>
    <div class="row">
        <div class="span4">
                    <div class="btn-group view pull-right" data-toggle="buttons-radio">
        <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button>
        <button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
    </div>
    <div class="btn-group visibility" data-toggle="buttons-checkbox">
        <button class="btn public active" title="Show public elements">Public</button>
        <button class="btn protected" title="Show protected elements">Protected</button>
        <button class="btn private" title="Show private elements">Private</button>
        <button class="btn inherited active" title="Show inherited elements">Inherited</button>
    </div>

        <ul class="side-nav nav nav-list">
        <li class="nav-header">
            <i class="icon-custom icon-method"></i> Methods
            <ul>
                                                                                                    <li class="method public">
        <a href="#method___construct" title="__construct :: 构造方法：初始化PDO方式连接数据库对象">
            <span class="description">构造方法：初始化PDO方式连接数据库对象</span><pre>__construct</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_fetchAll" title="fetchAll :: 获取所有的结果集">
            <span class="description">获取所有的结果集</span><pre>fetchAll</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_fetch" title="fetch :: 获取一条结果集">
            <span class="description">获取一条结果集</span><pre>fetch</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_fetchScalar" title="fetchScalar :: 获取多个结果集中指定列的结果">
            <span class="description">获取多个结果集中指定列的结果</span><pre>fetchScalar</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_fetchColumn" title="fetchColumn :: 获取一个结果集中指定列的结果">
            <span class="description">获取一个结果集中指定列的结果</span><pre>fetchColumn</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_query" title="query :: 执行数据库操作">
            <span class="description">执行数据库操作</span><pre>query</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_prepare" title="prepare :: 为执行准备一条SQL语句">
            <span class="description">为执行准备一条SQL语句</span><pre>prepare</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_reset" title="reset :: 将准备执行的SQL、参数、PDOStatement类实例置空">
            <span class="description">将准备执行的SQL、参数、PDOStatement类实例置空</span><pre>reset</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_bindValues" title="bindValues :: 绑定多个值到预处理语句中的参数">
            <span class="description">绑定多个值到预处理语句中的参数</span><pre>bindValues</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_bindValue" title="bindValue :: 绑定一个值到预处理语句中的参数">
            <span class="description">绑定一个值到预处理语句中的参数</span><pre>bindValue</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_bindParam" title="bindParam :: 绑定一个PHP变量到一个预处理语句中的参数">
            <span class="description">绑定一个PHP变量到一个预处理语句中的参数</span><pre>bindParam</pre>
        </a>
    </li>

                                                                                                                                                                <li class="method public">
        <a href="#method_execute" title="execute :: 执行一条预处理语句">
            <span class="description">执行一条预处理语句</span><pre>execute</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getFetchMode" title="getFetchMode :: 获取PDOStatement默认的fetch mode">
            <span class="description">获取PDOStatement默认的fetch mode</span><pre>getFetchMode</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_setFetchMode" title="setFetchMode :: 为PDOStatement设置默认的fetch mode">
            <span class="description">为PDOStatement设置默认的fetch mode</span><pre>setFetchMode</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getRowCount" title="getRowCount :: 获取SQL语句执行后影响的行数">
            <span class="description">获取SQL语句执行后影响的行数</span><pre>getRowCount</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getColumnCount" title="getColumnCount :: 获取结果集中的列数">
            <span class="description">获取结果集中的列数</span><pre>getColumnCount</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getErrorCode" title="getErrorCode :: 获取错误码">
            <span class="description">获取错误码</span><pre>getErrorCode</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getErrorInfo" title="getErrorInfo :: 获取错误信息">
            <span class="description">获取错误信息</span><pre>getErrorInfo</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getSql" title="getSql :: 获取需要绑定执行的SQL语句">
            <span class="description">获取需要绑定执行的SQL语句</span><pre>getSql</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_setSql" title="setSql :: 设置需要绑定执行的SQL语句">
            <span class="description">设置需要绑定执行的SQL语句</span><pre>setSql</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getParams" title="getParams :: 获取绑定到PDOStatement的数组">
            <span class="description">获取绑定到PDOStatement的数组</span><pre>getParams</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_isPositional" title="isPositional :: 判断是否使用数字索引向PDOStatement绑定数据">
            <span class="description">判断是否使用数字索引向PDOStatement绑定数据</span><pre>isPositional</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_isNamed" title="isNamed :: 判断是否使用:named方式向PDOStatement绑定数据">
            <span class="description">判断是否使用:named方式向PDOStatement绑定数据</span><pre>isNamed</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getSupportParam" title="getSupportParam :: 获取向PDOStatement绑定数据的方式">
            <span class="description">获取向PDOStatement绑定数据的方式</span><pre>getSupportParam</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_setSupportParam" title="setSupportParam :: 设置向PDOStatement绑定数据的方式">
            <span class="description">设置向PDOStatement绑定数据的方式</span><pre>setSupportParam</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getPDOStatement" title="getPDOStatement :: 获取PDOStatement类实例">
            <span class="description">获取PDOStatement类实例</span><pre>getPDOStatement</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getDriver" title="getDriver :: 获取PDO方式连接数据库对象
根据需要打开数据库连接，以节省资源">
            <span class="description">获取PDO方式连接数据库对象
根据需要打开数据库连接，以节省资源</span><pre>getDriver</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method___get" title="__get :: 魔术方法：请求get开头的方法，获取一个受保护的属性值">
            <span class="description">魔术方法：请求get开头的方法，获取一个受保护的属性值</span><pre>__get</pre>
        </a>
    </li>

                                                                                                        <li class="method public inherited">
        <a href="#method___set" title="__set :: 魔术方法：请求set开头的方法，设置一个受保护的属性值">
            <span class="description">魔术方法：请求set开头的方法，设置一个受保护的属性值</span><pre>__set</pre>
        </a>
    </li>

                                                </ul>
        </li>
        <li class="nav-header protected">» Protected
            <ul>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <li class="method protected">
                            <a href="#method__bindParams" title="_bindParams :: 绑定多个PHP变量到一个预处理语句中的参数">
                                <span class="description">绑定多个PHP变量到一个预处理语句中的参数</span><pre>_bindParams</pre>
                            </a>
                        </li>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </ul>
        </li>
        <li class="nav-header private">» Private
            <ul>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </ul>
        </li>
        <li class="nav-header">
            <i class="icon-custom icon-constant"></i> Constants
            <ul>
                                <li class="constant ">
                    <a href="#constant_POSITIONAL" title="POSITIONAL :: ">
                        <span class="description"></span><pre>POSITIONAL</pre>
                    </a>
                </li>
                                <li class="constant ">
                    <a href="#constant_NAMED" title="NAMED :: ">
                        <span class="description"></span><pre>NAMED</pre>
                    </a>
                </li>
                            </ul>
        </li>
    </ul>


        </div>

        <div class="span8">
            <div class="element class">
                <h1>Statement</h1>
                <small style="display: block; text-align: right">
                                            Extends <a href="../classes/tfc.ap.Application.html">\tfc\ap\Application</a>
                                                        </small>
                <p class="short_description">Statement class file
PDO方式预处理并执行SQL</p>
                <div class="details">
                    <div class="long_description">
                        
                    </div>
                    <table class="table table-bordered">
                                                                                    <tr>
                                    <th>
                                        author
                                                                            </th>
                                    <td>
                                                                                    
                                                                                <p>宋欢 <a href="mailto:trotri@yeah.net">trotri@yeah.net</a></p>
                                    </td>
                                </tr>
                                                                                                                <tr>
                                    <th>
                                        version
                                                                            </th>
                                    <td>
                                                                                    
                                                                                <p>$Id: Statement.php 1 2013-03-29 16:48:06Z huan.song $</p>
                                    </td>
                                </tr>
                                                                                                                <tr>
                                    <th>
                                        package
                                                                            </th>
                                    <td>
                                                                                    
                                                                                <p>tfc.db</p>
                                    </td>
                                </tr>
                                                                                                                <tr>
                                    <th>
                                        since
                                                                            </th>
                                    <td>
                                                                                    1.0
                                                                                
                                    </td>
                                </tr>
                                                                                                                                                                                                                                                                                                                                                                                                </table>

                    <h3><i class="icon-custom icon-method"></i> Methods</h3>
                                                                <a id="method___construct"></a>
                        <div class="element clickable method public  method___construct" data-toggle="collapse" data-target=".method___construct .collapse">
                            <h2>构造方法：初始化PDO方式连接数据库对象</h2>
                            <pre>__construct(\tfc\db\Driver $driver) </pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$driver</h4>
                                                <code><a href="../classes/tfc.db.Driver.html">\tfc\db\Driver</a></code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_fetchAll"></a>
                        <div class="element clickable method public  method_fetchAll" data-toggle="collapse" data-target=".method_fetchAll .collapse">
                            <h2>获取所有的结果集</h2>
                            <pre>fetchAll(string $sql = null, mixed $params = null, integer $fetchMode = \PDO::FETCH_ASSOC) : array|false</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$sql</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$params</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$fetchMode</h4>
                                                <code>integer</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>array|false</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_fetch"></a>
                        <div class="element clickable method public  method_fetch" data-toggle="collapse" data-target=".method_fetch .collapse">
                            <h2>获取一条结果集</h2>
                            <pre>fetch(string $sql = null, mixed $params = null, integer $fetchMode = \PDO::FETCH_ASSOC, integer $cursor = null, integer $offset = null) : mixed</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$sql</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$params</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$fetchMode</h4>
                                                <code>integer</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$cursor</h4>
                                                <code>integer</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$offset</h4>
                                                <code>integer</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>mixed</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_fetchScalar"></a>
                        <div class="element clickable method public  method_fetchScalar" data-toggle="collapse" data-target=".method_fetchScalar .collapse">
                            <h2>获取多个结果集中指定列的结果</h2>
                            <pre>fetchScalar(string $sql = null, mixed $params = null, integer $columnNumber) : array|false</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$sql</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$params</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$columnNumber</h4>
                                                <code>integer</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>array|false</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_fetchColumn"></a>
                        <div class="element clickable method public  method_fetchColumn" data-toggle="collapse" data-target=".method_fetchColumn .collapse">
                            <h2>获取一个结果集中指定列的结果</h2>
                            <pre>fetchColumn(string $sql = null, mixed $params = null, integer $columnNumber) : mixed</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$sql</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$params</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$columnNumber</h4>
                                                <code>integer</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>mixed</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_query"></a>
                        <div class="element clickable method public  method_query" data-toggle="collapse" data-target=".method_query .collapse">
                            <h2>执行数据库操作</h2>
                            <pre>query(string $sql = null, mixed $params = null) : boolean</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$sql</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$params</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>boolean</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_prepare"></a>
                        <div class="element clickable method public  method_prepare" data-toggle="collapse" data-target=".method_prepare .collapse">
                            <h2>为执行准备一条SQL语句</h2>
                            <pre>prepare() : \tfc\db\Statement</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    throws
                                                </th>
                                                <td>
                                                                                                                                                                        
                                                                                                                                                                        <p>如果预处理失败，抛出异常</p>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code><a href="../classes/tfc.db.Statement.html">\tfc\db\Statement</a></code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_reset"></a>
                        <div class="element clickable method public  method_reset" data-toggle="collapse" data-target=".method_reset .collapse">
                            <h2>将准备执行的SQL、参数、PDOStatement类实例置空</h2>
                            <pre>reset() : \tfc\db\Statement</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code><a href="../classes/tfc.db.Statement.html">\tfc\db\Statement</a></code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_bindValues"></a>
                        <div class="element clickable method public  method_bindValues" data-toggle="collapse" data-target=".method_bindValues .collapse">
                            <h2>绑定多个值到预处理语句中的参数</h2>
                            <pre>bindValues(array $values) : \tfc\db\Statement</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$values</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code><a href="../classes/tfc.db.Statement.html">\tfc\db\Statement</a></code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_bindValue"></a>
                        <div class="element clickable method public  method_bindValue" data-toggle="collapse" data-target=".method_bindValue .collapse">
                            <h2>绑定一个值到预处理语句中的参数</h2>
                            <pre>bindValue(mixed $param, mixed $value, integer|null $dataType = null) : \tfc\db\Statement</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$param</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$dataType</h4>
                                                <code>integer|null</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code><a href="../classes/tfc.db.Statement.html">\tfc\db\Statement</a></code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_bindParam"></a>
                        <div class="element clickable method public  method_bindParam" data-toggle="collapse" data-target=".method_bindParam .collapse">
                            <h2>绑定一个PHP变量到一个预处理语句中的参数</h2>
                            <pre>bindParam(mixed $param, mixed &$value, integer|null $dataType = null, integer|null $length = null, mixed $driverOptions = null) : \tfc\db\Statement</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    throws
                                                </th>
                                                <td>
                                                                                                                                                                        
                                                                                                                                                                        <p>如果绑定的键不是整型或字符串类型，抛出异常</p>
                                                                                                                                                                        
                                                                                                                                                                        <p>如果当前不支持绑定的键的类型，抛出异常</p>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$param</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$dataType</h4>
                                                <code>integer|null</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$length</h4>
                                                <code>integer|null</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$driverOptions</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code><a href="../classes/tfc.db.Statement.html">\tfc\db\Statement</a></code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method__bindParams"></a>
                        <div class="element clickable method protected  method__bindParams" data-toggle="collapse" data-target=".method__bindParams .collapse">
                            <h2>绑定多个PHP变量到一个预处理语句中的参数</h2>
                            <pre>_bindParams() : \tfc\db\Statement</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    throws
                                                </th>
                                                <td>
                                                                                                                                                                        
                                                                                                                                                                        <p>如果绑定参数失败，抛出异常</p>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code><a href="../classes/tfc.db.Statement.html">\tfc\db\Statement</a></code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_execute"></a>
                        <div class="element clickable method public  method_execute" data-toggle="collapse" data-target=".method_execute .collapse">
                            <h2>执行一条预处理语句</h2>
                            <pre>execute(array $params = null) : boolean</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    throws
                                                </th>
                                                <td>
                                                                                                                                                                        
                                                                                                                                                                        <p>如果执行预处理语句失败，抛出异常</p>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$params</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>boolean</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getFetchMode"></a>
                        <div class="element clickable method public  method_getFetchMode" data-toggle="collapse" data-target=".method_getFetchMode .collapse">
                            <h2>获取PDOStatement默认的fetch mode</h2>
                            <pre>getFetchMode() : integer</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>integer</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setFetchMode"></a>
                        <div class="element clickable method public  method_setFetchMode" data-toggle="collapse" data-target=".method_setFetchMode .collapse">
                            <h2>为PDOStatement设置默认的fetch mode</h2>
                            <pre>setFetchMode(integer $fetchMode = \PDO::FETCH_ASSOC) : \tfc\db\Statement</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    throws
                                                </th>
                                                <td>
                                                                                                                                                                        
                                                                                                                                                                        <p>如果参数不是有效的类型，抛出异常</p>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$fetchMode</h4>
                                                <code>integer</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code><a href="../classes/tfc.db.Statement.html">\tfc\db\Statement</a></code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getRowCount"></a>
                        <div class="element clickable method public  method_getRowCount" data-toggle="collapse" data-target=".method_getRowCount .collapse">
                            <h2>获取SQL语句执行后影响的行数</h2>
                            <pre>getRowCount() : integer</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    throws
                                                </th>
                                                <td>
                                                                                                                                                                        
                                                                                                                                                                        <p>如果获取行数失败，抛出异常</p>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>integer</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getColumnCount"></a>
                        <div class="element clickable method public  method_getColumnCount" data-toggle="collapse" data-target=".method_getColumnCount .collapse">
                            <h2>获取结果集中的列数</h2>
                            <pre>getColumnCount() : integer</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    throws
                                                </th>
                                                <td>
                                                                                                                                                                        
                                                                                                                                                                        <p>如果获取列数失败，抛出异常</p>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>integer</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getErrorCode"></a>
                        <div class="element clickable method public  method_getErrorCode" data-toggle="collapse" data-target=".method_getErrorCode .collapse">
                            <h2>获取错误码</h2>
                            <pre>getErrorCode() : integer</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    throws
                                                </th>
                                                <td>
                                                                                                                                                                        
                                                                                                                                                                        <p>如果获取错误码失败，抛出异常</p>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>integer</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getErrorInfo"></a>
                        <div class="element clickable method public  method_getErrorInfo" data-toggle="collapse" data-target=".method_getErrorInfo .collapse">
                            <h2>获取错误信息</h2>
                            <pre>getErrorInfo() : array</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    throws
                                                </th>
                                                <td>
                                                                                                                                                                        
                                                                                                                                                                        <p>如果获取错误信息失败，抛出异常</p>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>array</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getSql"></a>
                        <div class="element clickable method public  method_getSql" data-toggle="collapse" data-target=".method_getSql .collapse">
                            <h2>获取需要绑定执行的SQL语句</h2>
                            <pre>getSql() : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setSql"></a>
                        <div class="element clickable method public  method_setSql" data-toggle="collapse" data-target=".method_setSql .collapse">
                            <h2>设置需要绑定执行的SQL语句</h2>
                            <pre>setSql(string $sql) : \tfc\db\Statement</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    throws
                                                </th>
                                                <td>
                                                                                                                                                                        
                                                                                                                                                                        <p>如果SQL不是字符串类型，抛出异常</p>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$sql</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code><a href="../classes/tfc.db.Statement.html">\tfc\db\Statement</a></code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getParams"></a>
                        <div class="element clickable method public  method_getParams" data-toggle="collapse" data-target=".method_getParams .collapse">
                            <h2>获取绑定到PDOStatement的数组</h2>
                            <pre>getParams() : array</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>array</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_isPositional"></a>
                        <div class="element clickable method public  method_isPositional" data-toggle="collapse" data-target=".method_isPositional .collapse">
                            <h2>判断是否使用数字索引向PDOStatement绑定数据</h2>
                            <pre>isPositional() : boolean</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>boolean</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_isNamed"></a>
                        <div class="element clickable method public  method_isNamed" data-toggle="collapse" data-target=".method_isNamed .collapse">
                            <h2>判断是否使用:named方式向PDOStatement绑定数据</h2>
                            <pre>isNamed() : boolean</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>boolean</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getSupportParam"></a>
                        <div class="element clickable method public  method_getSupportParam" data-toggle="collapse" data-target=".method_getSupportParam .collapse">
                            <h2>获取向PDOStatement绑定数据的方式</h2>
                            <pre>getSupportParam() : integer</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>integer</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setSupportParam"></a>
                        <div class="element clickable method public  method_setSupportParam" data-toggle="collapse" data-target=".method_setSupportParam .collapse">
                            <h2>设置向PDOStatement绑定数据的方式</h2>
                            <pre>setSupportParam(integer $value = self::POSITIONAL) : \tfc\db\Statement</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>integer</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code><a href="../classes/tfc.db.Statement.html">\tfc\db\Statement</a></code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getPDOStatement"></a>
                        <div class="element clickable method public  method_getPDOStatement" data-toggle="collapse" data-target=".method_getPDOStatement .collapse">
                            <h2>获取PDOStatement类实例</h2>
                            <pre>getPDOStatement() : \PDOStatement</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>\PDOStatement</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getDriver"></a>
                        <div class="element clickable method public  method_getDriver" data-toggle="collapse" data-target=".method_getDriver .collapse">
                            <h2>获取PDO方式连接数据库对象
根据需要打开数据库连接，以节省资源</h2>
                            <pre>getDriver(boolean $autoOpen = true) : \tfc\db\Driver</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$autoOpen</h4>
                                                <code>boolean</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code><a href="../classes/tfc.db.Driver.html">\tfc\db\Driver</a></code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method___get"></a>
                        <div class="element clickable method public  method___get inherited" data-toggle="collapse" data-target=".method___get .collapse">
                            <h2>魔术方法：请求get开头的方法，获取一个受保护的属性值</h2>
                            <pre>__get(string $name) : mixed</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    throws
                                                </th>
                                                <td>
                                                                                                                                                                        
                                                                                                                                                                        <p>如果该属性名的getter方法不存在，抛出异常</p>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>mixed</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method___set"></a>
                        <div class="element clickable method public  method___set inherited" data-toggle="collapse" data-target=".method___set .collapse">
                            <h2>魔术方法：请求set开头的方法，设置一个受保护的属性值</h2>
                            <pre>__set(string $name, mixed $value) : void</pre>
                            <div class="labels">
                                <span class="label">inherited</span>                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    throws
                                                </th>
                                                <td>
                                                                                                                                                                        
                                                                                                                                                                        <p>如果该属性名的setter方法不存在，抛出异常</p>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                    
                                            <h3><i class="icon-custom icon-constant"></i> Constants</h3>
                                                    <a id="constant_POSITIONAL"> </a>
                            <div class="element clickable constant  constant_POSITIONAL" data-toggle="collapse" data-target=".constant_POSITIONAL .collapse">
                                <h2>POSITIONAL</h2>
                                <pre>POSITIONAL</pre>
                                <div class="labels">
                                                                    </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>
                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>用数字索引向PDOStatement绑定数据</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>
                                    </div>
                                </div>
                            </div>
                                                    <a id="constant_NAMED"> </a>
                            <div class="element clickable constant  constant_NAMED" data-toggle="collapse" data-target=".constant_NAMED .collapse">
                                <h2>NAMED</h2>
                                <pre>NAMED</pre>
                                <div class="labels">
                                                                    </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>
                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>用:named方式向PDOStatement绑定数据</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>
                                    </div>
                                </div>
                            </div>
                                            
                                                                <h3><i class="icon-custom icon-property"></i> Properties</h3>
                                                    <a id="property__PDOStatement"> </a>
                            <div class="element clickable property  protected property__PDOStatement" data-toggle="collapse" data-target=".property__PDOStatement .collapse">
                                <h2>PDOStatement类实例</h2>
                                <pre>_PDOStatement : \PDOStatement|null</pre>
                                <div class="labels">
                                                                                                        </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>PDOStatement类实例</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>\PDOStatement|null</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__fetchMode"> </a>
                            <div class="element clickable property  protected property__fetchMode" data-toggle="collapse" data-target=".property__fetchMode .collapse">
                                <h2>Specifies the fetchMode of column names retrieved in queries
Options
PDO::FETCH_ASSOC (default)
PDO::FETCH_NUM
PDO::FETCH_BOTH
PDO::FETCH_LAZY
PDO::FETCH_OBJ
[PDO::FETCH_COLUMN|PDO::FETCH_GROUP]</h2>
                                <pre>_fetchMode : integer</pre>
                                <div class="labels">
                                                                                                        </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>Specifies the fetchMode of column names retrieved in queries
Options
PDO::FETCH_ASSOC (default)
PDO::FETCH_NUM
PDO::FETCH_BOTH
PDO::FETCH_LAZY
PDO::FETCH_OBJ
[PDO::FETCH_COLUMN|PDO::FETCH_GROUP]</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>integer</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__sql"> </a>
                            <div class="element clickable property  protected property__sql" data-toggle="collapse" data-target=".property__sql .collapse">
                                <h2>需要绑定执行的SQL语句</h2>
                                <pre>_sql : string</pre>
                                <div class="labels">
                                                                                                        </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>需要绑定执行的SQL语句</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>string</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__params"> </a>
                            <div class="element clickable property  protected property__params" data-toggle="collapse" data-target=".property__params .collapse">
                                <h2>需要绑定到PDOStatement的数组</h2>
                                <pre>_params : array</pre>
                                <div class="labels">
                                                                                                        </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>需要绑定到PDOStatement的数组</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>array</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__driver"> </a>
                            <div class="element clickable property  protected property__driver" data-toggle="collapse" data-target=".property__driver .collapse">
                                <h2>PDO方式连接数据库对象</h2>
                                <pre>_driver : \tfc\db\tfc\db\Driver</pre>
                                <div class="labels">
                                                                                                        </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>PDO方式连接数据库对象</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>\tfc\db\tfc\db\Driver</code>
                                                                            </div>
                                </div>
                            </div>
                                                    <a id="property__supportParam"> </a>
                            <div class="element clickable property  protected property__supportParam" data-toggle="collapse" data-target=".property__supportParam .collapse">
                                <h2>向PDOStatement绑定数据的方式</h2>
                                <pre>_supportParam : integer</pre>
                                <div class="labels">
                                                                                                        </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>向PDOStatement绑定数据的方式</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>integer</code>
                                                                            </div>
                                </div>
                            </div>
                                                            </div>
            </div>
            <a id="\tfc\db\Statement"></a>
            <ul class="breadcrumb">
                <li><a href="../index.html"><i class="icon-custom icon-class"></i></a></li>
                    
    
    <li><span class="divider">\</span><a href="../namespaces/tfc.db.html">db</a></li>

                <li class="active"><span class="divider">\</span><a href="../classes/tfc.db.Statement.html">Statement</a></li>
            </ul>
        </div>
    </div>

    </div>

        <footer class="span12">
            Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
            <a href="http://glyphicons.com/">Glyphicons</a>.<br/>
            Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
            generated on Sat, 27 Dec 2014 06:16:39 +0000.<br/>
    </footer>
    </body>
</html>
